Why does [cprintf()] not work the same way as [printf()]?
Please compile my code and see what I mean.
Code:#include <stdio.h> #include <conio.h> int main(void) { printf("1. This is the normal dos colors.\n"); printf("2. This is right below.\n"); printf("3. This is under \"This is right below.\"\n"); printf("4. and this is the last part\n\n"); textcolor(BLUE); cprintf("1. This should be the color: BLUE."); printf("2. This should be right below the BLUE text."); textcolor(LIGHTGRAY); textbackground(BLUE); cprintf("3. This should have a BLUE background."); getchar(); return 0; }